<?php

/**
 * 竞拍模块
 *
 * Created by PhpStorm.
 * User: evan
 * Date: 2016/12/13
 * Time: 上午11:28
 */
class Voice extends MY_M_Controller
{
    /**
     * 竞拍详情页面
     */
    public function detail()
    {
    	$vid = (int)$this->input->get_post('vid');
    	
    	if(!$vid){
    		show_error('参数错误！', '500', '提示');
    	}
    	
    	$this->load->service('voice/service_voice_detail');
    	$data = $this->service_voice_detail->index($vid);
    	
    	$this->load->view('m/voice/detail', $data['data']);
    }
}